/**
 * Copyright 2020 OPSLI 快速开发平台 https://www.opsli.com
 * <p>
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License. You may obtain a copy of
 * the License at
 * <p>
 * http://www.apache.org/licenses/LICENSE-2.0
 * <p>
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations under
 * the License.
 */
package org.opsli.api.wrapper.website.teacherrating;

import java.math.BigDecimal;
import java.util.Date;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.opsli.api.base.warpper.ApiWrapper;
import org.opsli.common.annotation.validator.Validator;
import org.opsli.common.annotation.validator.ValidatorLenMax;
import org.opsli.common.annotation.validator.ValidatorLenMin;
import org.opsli.common.enums.ValidatorType;
import org.opsli.plugins.excel.annotation.ExcelInfo;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

/**
* 教师评分管理 Model
*
* @author cyx
* @date 2025-07-06 17:21:43
*/
@Data
@EqualsAndHashCode(callSuper = false)
public class TeacherRatingModel extends ApiWrapper {

    /** 父级主键集合 */
    @Schema(description = "父级主键集合")
    @ExcelProperty(value = "父级主键集合", order = 1)
    @ExcelInfo
    @ValidatorLenMax(500)
    private String orgIds;

    /** 教师姓名 */
    @Schema(description = "教师姓名")
    @ExcelProperty(value = "教师姓名", order = 1)
    @ExcelInfo
    @Validator({
        ValidatorType.IS_NOT_NULL
    })
    @ValidatorLenMax(50)
    private String teacherName;

    /** 评价用户ID */
    @Schema(description = "评价用户ID")
    @ExcelProperty(value = "评价用户ID", order = 2)
    @ExcelInfo
    @Validator({
        ValidatorType.IS_NOT_NULL
    })
    @ValidatorLenMax(19)
    private Long userId;

    /** 评分（1~5分） */
    @Schema(description = "评分（1~5分）")
    @ExcelProperty(value = "评分（1~5分）", order = 3)
    @ExcelInfo
    @Validator({
        ValidatorType.IS_NOT_NULL
    })
    @ValidatorLenMax(10)
    private Integer score;

    /** 评价内容 */
    @Schema(description = "评价内容")
    @ExcelProperty(value = "评价内容", order = 4)
    @ExcelInfo
    @ValidatorLenMax(1000)
    private String comment;

    /** 删除 */
    @Schema(description = "删除")
    @ExcelProperty(value = "删除", order = 8)
    @ExcelInfo
    @Validator({
        ValidatorType.IS_NOT_NULL
    })
    @ValidatorLenMax(1)
    private Integer delected;



}